package com.hanko.designpattern.decorator;
import java.util.*;

/**
 * 
 */
public class ColorShapeDecorator extends ShapeDecorator {

    public ColorShapeDecorator(Shape shape) {
        super(shape);
    }

    @Override
    public void draw() {
        setColor();
        shape.draw();
    }

    private void setColor() {
       //设置画图颜色
    }

}